* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body,
html,
#root,
.app {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    color: black;
}

.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: space-around;
    text-align: center;
    border-top: 1px solid #f5f5f5;
    background: white;

    .active {
        color: skyblue;
    }
}

.home {
    height: 100%;
    display: flex;
    flex-direction: column;

    .inp-header {
        height: 50px;
        align-items: center;
        text-align: center;
        background: skyblue;

        div {
            position: absolute;
            left: 31%;
            top: 10px;
        }

        input {
            width: 80%;
            height: 30px;
            line-height: 30px;
            padding-left: 10px;
            border-radius: 25px;
            outline: none;
            border: none;
            text-align: center;
            border: 1px solid #f5f5f5;
            margin-top: 10px;
            background: #f5f5f5;
        }
    }

    .swiper-container {
        width: 100%;
        height: 200px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    h3 {
        margin-top: 10px;
        margin-left: 20px;
    }

    .tab {
        line-height: 50px;
        display: flex;
        justify-content: space-around;

        .active {
            color: skyblue;
        }
    }

    .allshop {
        flex: 1;
        overflow: auto;
        margin-bottom: 50px;

        .shop {
            height: 120px;
            align-items: center;
            display: flex;
            border-bottom: 1px solid #f5f5f5;

            .img {
                margin-left: 10px;
                margin-right: 10px;
            }

            .txt h4 {
                margin-bottom: 10px;
            }

            .txt p {
                margin-bottom: 10px;
            }
        }
    }
}

.header {
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: 1px solid rgb(233, 227, 227);
}

.header {
    .left {
        color: skyblue;
    }

    .right {
        color: skyblue;

        div {
            display: flex;
            height: 25px;
            width: 50px;
            border: 1px solid #a7a3a3;
            border-radius: 25px;
            text-align: center;

            span {
                margin-top: -5px;
                margin-left: 5px;
            }
        }
    }
}

.filter {
    height: 100%;
    display: flex;
    flex-direction: column;

    .inp-header {
        height: 50px;
        align-items: center;

        div {
            position: absolute;
            left: 4%;
            top: 53px;
        }

        input {
            width: 70%;
            height: 30px;
            line-height: 30px;
            padding-left: 20px;
            border-radius: 25px;
            margin-left: 10px;
            outline: none;
            border: none;
            border: 1px solid #f5f5f5;
            margin-top: 10px;
            background: #f5f5f5;
        }

        span {
            margin-left: 10px;
            color: skyblue;
        }
    }

    .div {
        display: flex;
        justify-content: space-between;
        margin: 10px 20px;

        span {
            margin-top: -10px;
        }
    }

    .filter-box {
        height: auto;

        span {
            display: inline-block;
            padding: 5px 5px;
            background: #f5f5f5;
            margin: 5px 10px;
        }
    }

    .tab {
        line-height: 50px;
        display: flex;
        justify-content: space-around;

        .active {
            color: skyblue;
        }
    }

    .allshop {
        flex: 1;
        overflow: auto;
        margin-bottom: 50px;

        .shop {
            height: 120px;
            align-items: center;
            display: flex;
            border-bottom: 1px solid #f5f5f5;

            .img {
                margin-left: 10px;
                margin-right: 10px;
            }

            .txt h4 {
                margin-bottom: 10px;
            }

            .txt p {
                margin-bottom: 10px;
            }
        }
    }
}

.detail {
    height: 100%;
    display: flex;
    flex-direction: column;

    .bigHead {
        height: 200px;
        background-size: cover;
        display: flex;
        flex-direction: column;

        .header {
            color: white;
        }

        .img {
            display: flex;
            align-items: center;
            justify-content: space-around;
            color: white;
            margin-top: 20px;

            .imgs {
                width: 50px;
                height: 50px;
                border: 1px solid rgb(19, 13, 13);
                border-radius: 50%;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            span {
                margin-top: -10px;
            }

            .active {
                color: red;
            }
        }

        .shou {
            display: flex;
            height: 50px;
            align-items: center;
            margin-top: 10px;
            color: white;

            .div {
                width: 80px;
                height: 30px;
                line-height: 20px;
                background: #f5f5f5;
                margin-left: 10px;
                border-radius: 25px;
                text-align: center;
                color: #888888;

                span {

                    margin-left: -5px;
                }
            }

            span {
                margin-left: 10px;
            }
        }
    }

    .shop {
        flex: 1;
        overflow: auto;
        display: flex;

        .left {
            width: 30%;
            background: #ccc8c8;
            margin-right: 10px;

            .div {
                line-height: 50px;
                text-align: center;

                &.active {
                    background: white;
                }
            }
        }

        .right {
            flex: 1;
            overflow: auto;

            .shops {
                display: flex;
                margin-top: 10px;
                height: 80px;
                align-items: center;
                border-bottom: 1px solid rgb(238, 234, 234);

                .img {
                    margin-right: 10px;
                }

                .wight {
                    font-weight: 900;

                }

                .fei {
                    color: #d1cbcb;
                    margin-top: 5px;
                    margin-bottom: 5px;
                }

                span {
                    color: red;
                }

                .divs {
                    position: relative;
                    right: -150px;
                    top: -15px;
                    width: 15px;
                    height: 15px;
                    text-align: center;
                    line-height: 10px;
                    background: skyblue;
                    border-radius: 50%;
                    color: white;
                }
            }
        }
    }

    .shopcat {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        height: 60px;
        background: rgba(0, 0, 0, .5);
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 9999;

        .div {
            .iconfont {
                margin-top: -50px;
                font-size: 58px;

                &.active {
                    color: rgb(24, 176, 236);
                }
            }

            .span {
                position: relative;
                top: -40px;
                left: 60px;
                display: inline-block;
                width: 20px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                border-radius: 50%;
                background: red;
            }
        }

        .num {
            color: white;
            font-size: 24px;
        }

        button {
            border: none;
            width: 100px;
            height: 40px;
            background: rgb(41, 235, 41);
            margin-top: 10px;
            color: white;
        }
    }
}

.my {
    height: 100%;
    display: flex;
    flex-direction: column;

    .admin {
        display: flex;
        height: 80px;
        align-items: center;

        img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-left: 10px;
            margin-right: 10px;
        }

        h4 {
            margin-bottom: 5px;
        }
    }

    .img {
        width: 90%;
        height: 90px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 5%;

        img {
            width: 100%;
            height: 100%;
            border-radius: 15px;
        }
    }

    .black {
        height: 70px;
        line-height: 70px;
        display: flex;
        justify-content: space-between;
        margin: 0 10px;
        border-bottom: 1px solid #e7e1e1;

        .col {
            color: red;
            margin-right: 10px;
        }
    }
}

.collent {
    height: 100%;
    display: flex;
    flex-direction: column;

    .shop {
        height: 120px;
        align-items: center;
        display: flex;
        border-bottom: 1px solid #f5f5f5;

        .img {
            margin-left: 10px;
            margin-right: 10px;
        }

        .txt h4 {
            margin-bottom: 10px;
        }

        .txt p {
            margin-bottom: 10px;
        }

        .active {
            position: relative;
            right: -90px;
            top: -37px;
            color: red;
        }
    }

    .div {
        width: 90%;
        height: 400px;
        margin: 0 auto;
        text-align: center;
        margin-top: 30px;

        img {
            width: 100%;
            height: 90%;
        }

        button {
            border: none;
            background: skyblue;
            padding: 10px;
            margin-top: 10px;
            border-radius: 25px;
        }
    }
}

.city {
    height: 100%;
    display: flex;
    flex-direction: column;

    .cityList {
        width: 90%;
        height: 80%;
        margin: 0 auto;
        background: white;
        overflow: auto;
        margin-top: 10px;

        .black {
            height: 60px;
            display: flex;
            border-bottom: 1px solid #f5f5f5;

            &.active {
                background: skyblue;
            }

            .left {
                flex: 1;

                p {
                    margin: 10px 10px;
                }

                span {
                    margin-left: 10px;
                    color: #888888;
                }
            }

            .right {
                width: 40px;
                margin-top: 10px;
                text-align: center;
            }
        }
    }

    .btn {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 50px;
        text-align: center;

        button {
            width: 90%;
            height: 40px;
            text-align: center;
            border: none;
            border-radius: 25px;
            background: skyblue;
        }
    }
}

.addcity {
    height: 100%;
    display: flex;
    flex-direction: column;

    .from {
        .black {
            height: 50px;
            line-height: 50px;
            display: flex;
            border-bottom: 1px solid rgb(238, 232, 232);

            .first {
                display: inline-block;
                width: 80px;
                text-align: left;
                margin-left: 10px;

                .xin {
                    color: red;
                }
            }

            .inp {
                input {
                    border: none;
                    background: #f5f5f5;
                }

                span {
                    display: inline-block;
                    width: 40px;
                    height: 20px;
                    line-height: 20px;
                    border: 1px solid #888888;
                    text-align: center;
                    margin-left: 10px;
                    margin-top: 15px;
                }
            }

            .tong {
                margin-left: 30px;
                color: rgb(29, 133, 230);
            }
        }
    }

    .btn {
        height: 50px;
        text-align: center;
        line-height: 50px;

        button {
            width: 80%;
            height: 70%;
            border: none;
            background: rgb(7, 173, 238);
            color: white;
        }
    }
}

.case {
    height: 100%;
    display: flex;
    flex-direction: column;

    .from {
        .black {
            height: 50px;
            line-height: 50px;
            display: flex;
            border-bottom: 1px solid rgb(238, 232, 232);

            .first {
                display: inline-block;
                width: 80px;
                text-align: left;
                margin-left: 10px;

                .xin {
                    color: red;
                }
            }

            .inp {
                input {
                    border: none;
                    background: #f5f5f5;
                }

                span {
                    display: inline-block;
                    width: 40px;
                    height: 20px;
                    line-height: 20px;
                    border: 1px solid #888888;
                    text-align: center;
                    margin-left: 10px;
                    margin-top: 15px;
                }
            }

            .tong {
                margin-left: 30px;
                color: rgb(29, 133, 230);
            }
        }
    }

    .btn {
        height: 50px;
        text-align: center;
        line-height: 50px;
        display: flex;
        margin-top: 10px;

        button {
            width: 40%;
            height: 70%;
            border: none;
            background: rgb(7, 173, 238);
            color: white;
            margin: 0 10px;
        }

        .am-button {
            width: 40%;
            height: 70%;
            border: none;
            color: white;
            margin: 0 10px;
            background: red;
            line-height: 150%;
            border-radius: 0;
            margin-left: 40px;

            span {
                font-size: 16px;
            }
        }
    }
}

.numshop {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;

    .top {
        height: 30%;
        background: rgba(0, 0, 0, .5);
    }

    .div {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 50px;
        line-height: 50px;
        background: white;

        p {
            margin-top: -10px;
        }
    }

    .bottom {
        flex: 1;
        overflow: auto;
        background: #f5f5f5;
        margin-bottom: 60px;

        .shop {
            height: 70px;
            align-items: center;
            display: flex;

            .img {
                flex: 1;
                text-align: center;
            }

            .txt {
                flex: 2;

                h4 {
                    margin-bottom: 10px;
                }
            }

            .num {
                flex: 1;

                span {
                    margin: 0 10px;
                }
            }
        }
    }
}
.order{
    height: 100%;
    display: flex;
    flex-direction: column;
    .ordlist{
        flex: 1;
        width: 80%;
        margin: 0 auto;
        background: white;
        margin-top: 10px;
        .div{
            display: flex;
            height: 40px;
            line-height: 40px;
            justify-content: space-around;
        }
        p{
            margin-left: 20px;
            margin-top: 20px;
        }
    }
}